<?php

namespace App\Models;

class NeedHelp extends BaseModel
{
    protected $table = 'crm_client_help';


    public function client(){
        return $this->belongsTo(Client::class,'client_id','id');
    }

    public function employee()
    {
        return $this->belongsTo(User::class, 'employee_id','id');
    }

    public function helpers()
    {
        return $this->belongsTo(User::class, 'helper_id','id');
    }
}
